package cn.agiledata.bank.linkbank.impl.icbc;

/**
 * 中国工商银行b2b网上银行常量类
 * 
 * @author maxianbo
 * 
 */
class IcbcB2bNetConstant {
    /**
     * 订单金额
     */
    public static final String AMOUNT = "ContractAmt";

    /**
     * 网上银行流水号（指令序号）
     */
    public static final String BANK_TRAN_NO = "Serial_no";

    /**
     * 已含运费金额
     */
    public static final String CARRIAGE_AMOUNT = "TransFee";

    /**
     * 证书公钥编码
     */
    public static final String CERT_CODE = "Cert";

    /**
     * 货币类型
     */
    public static final String CURRENCY_TYPE = "Account_cur";

    /**
     * 货币类型：人民币
     */
    public static final String CURRENCY_TYPE_CNY = "001";

    /**
     * 客户联名
     */
    public static final String CUSTOMER_JOIN = "CustJoinFlag";

    /**
     * 客户联名：未注册
     */
    public static final String CUSTOMER_JOIN_NO = "1";

    /**
     * 客户联名：已注册
     */
    public static final String CUSTOMER_JOIN_YES = "0";

    /**
     * 联名客户号
     */
    public static final String CUSTOMER_JOIN_NUM = "CustJoinNumber";

    /**
     * 订单时间
     */
    public static final String DATE = "TranTime";

    /**
     * 时间格式
     */
    public static final String DATE_FORMAT = "yyyyMMddHHmmss";

    /**
     * 错误码
     */
    public static final String ERROR_CODE = "TranErrorCode";

    /**
     * 错误消息
     */
    public static final String ERROR_MESSAGE = "TranErrorMsg";

    /**
     * 商品数量
     */
    public static final String GOODS_COUNT = "Amount";

    /**
     * 商品编号
     */
    public static final String GOODS_ID = "GoodsCode";

    /**
     * 商品名称
     */
    public static final String GOODS_NAME = "GoodsName";

    /**
     * 接口名称
     */
    public static final String INTERFACE_NAME = "APIName";

    /**
     * 接口版本号
     */
    public static final String INTERFACE_VERSION = "APIVersion";

    /**
     * 商户账号
     */
    public static final String MERCHANT_ACCOUNT = "Shop_acc_num";

    /**
     * 商户收款账号
     */
    public static final String MERCHANT_COLLECT_ACCOUNT = "PayeeAcct";

    /**
     * 商户编号
     */
    public static final String MERCHANT_ID = "Shop_code";

    /**
     * 商户联名
     */
    public static final String MERCHANT_JOIN = "ShopJoinFlag";

    /**
     * 商户联名：未联名
     */
    public static final String MERCHANT_JOIN_NO = "1";

    /**
     * 商户联名：已联名
     */
    public static final String MERCHANT_JOIN_YES = "0";

    /**
     * 商户名称
     */
    public static final String MERCHANT_NAME = "PayeeName";

    /**
     * 商户url
     */
    public static final String MERCHANT_URL = "MerchantURL";

    /**
     * 通知日期
     */
    public static final String NOTIFY_DATE = "NotifyTime";

    /**
     * 订单编号
     */
    public static final String ORDER_ID = "ContractNo";

    /**
     * 备注
     */
    public static final String REMARK = "ShopRem";

    /**
     * 备注2
     */
    public static final String REMARK2 = "ShopRemark";

    /**
     * 支付请求时的数字签名
     */
    public static final String REQUEST_DIGITAL_SIGN = "Mer_Icbc20_signstr";

    /**
     * 支付响应时的数字签名
     */
    public static final String RESPONSE_DIGITAL_SIGN = "NotifySign";

    /**
     * 结果发送类型
     */
    public static final String RESULT_TYPE = "SendType";

    /**
     * 结果发送类型：始终发送
     */
    public static final String RESULT_TYPE_ALWAYS = "0";

    /**
     * 结果发送类型：成功时发送
     */
    public static final String RESULT_TYPE_ONLY_SUCCESS = "1";

    /**
     * 返回码
     */
    public static final String RETURN_CODE = "PayStatusZHCN";
    
    /**
     * 返回码：等待授权
     */
    public static final String RETURN_CODE_WAITING = "3";

    /**
     * 返回码：可疑
     */
    public static final String RETURN_CODE_DISTRUST = "2";

    /**
     * 返回码：失败
     */
    public static final String RETURN_CODE_FAILURE = "1";

    /**
     * 返回码：成功
     */
    public static final String RETURN_CODE_SUCCESS = "0";
    
    /**
     * 检验联名
     */
    public static final String VERIFY_JOIN = "JoinFlag";

    private IcbcB2bNetConstant() {
    }
}